<?php
/*
	Copyright 2010 Ping Shin Ching (ping_sc@hotmail.com)

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

		http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
	
	Project Mugatiya: http://www.tidytutorials.com/p/mugatiya.html
 */


/*
 * This host - you must make sure your port number is correct.
 */
$myhost = "http://127.0.0.1:8080/super";

/*
 * Set the default loggin option to 0 (no logging)
 */
$loglevel=0;

/*
 * Switch off or on the reCaptcha
 */
define('TURINGTEST', true);

/*
 * Check post'ed values for spammy links
 */
define('POSTSPAMTEST', true);
define('POSTSPAM_PAGE', 	"messages/in_postspam.html");

/*
 * Define the varous error pages
 */
define('INDEX_PAGE', 	"messages/in_index.html");
define('BLOCKED_PAGE', 	"messages/in_blocked.html");
define('ERROR_PAGE', 	"messages/in_error.html");
define('NOACCESS_PAGE', "messages/in_noaccess.html");

/*
 * You probably wont have to bother about this.
 * This is tied to values in the blockedips.php file
 */
define('TOTALCUTOFF',	4000);

/*
 * Use x-forwaded-for or use REMOTE_ADDR
 */
define("USEXFORWARDEDFOR", true);

/*
 * If you need to use proxies for the outgoing
 * connections, define the proxy here.
 */
//define('USEPROXY', 	  "myfastproxy.com:8080");
//define('USEPROXYCREDS', "testin:testing");
?>
